<div class="section">
    <include file="header" />
    <div class="system-form">
    <div class="panel panel-default">
    <div class="panel-body">
        <form class="form-horizontal" action="<{$act_url}>" method="post" role="form">
            <input type="hidden" name="id" value="<{$data.aid}>" />
            <div class="form-group">
                <label for="article-title" class="col-sm-2 control-label"><span class="form-start">*</span>文章标题：</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" name="article-title" placeholder="请填写文章标题" required value="<{$data.title}>">
            </div>
            </div>

            <div class="form-group">
                <label for="article-actid" class="col-sm-2 control-label">文章分类：</label>
                <div class="col-sm-6">
                <select class="form-control" name="article-actid">
                    <volist name="catlist" id="vo">
                        <option value="<{$vo.node_id}>" <if condition="$vo['node_id'] eq $data['node_id']">selected</if>><{$vo.node_name}></option>
                        <if condition="$vo['child']">
                            <volist name="vo['child']" id="sub" >
                                <option value="<{$sub.node_id}>" <if condition="$sub['node_id'] eq $data['node_id']">selected</if>>&nbsp;&nbsp;<{$sub.node_name}></option>
                            </volist>
                        </if>
                    </volist>
              </select>
            </div>
            </div>
            <div class="form-group">
                <label for="article-face" class="col-sm-2 control-label">封面图片：</label>
                <div class="col-sm-6">
                <include file="Component@Public/inputupload" type="" />
            </div>
            </div>
            <div class="form-group">
                <label for="article-con" class="col-sm-2 control-label">文章内容：</label>
                <div class="col-sm-10">
               <{$ueditor}>
            </div>
            </div>
            <div class="form-group col-sm-8 pull-right">
            <div class="col-sm-6">
                <button type="submit" name="is_publish" value="0" class="btn btn-success">保存草稿</button>
            </div>
            <div class="col-sm-6">
                <button type="submit" class="btn btn-success">发布</button>
            </div>  
            
            </div>
            
        </form>
    </div>
</div>
</div>
</div>
